package org.spring.stream;

import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.annotation.StreamListener;

@EnableBinding(Barista.class)
public class CafeConfiguration {

	@StreamListener("orders")
    public void receive(Object object) {
        System.out.println(object);
    }
}